// XMessageBox.h
//
// This software is released into the public domain.  
// You are free to use it in any way you like.
//
// This software is provided "as is" with no expressed 
// or implied warranty.  I accept no liability for any 
// damage or loss of business that this software may cause. 
//
///////////////////////////////////////////////////////////////////////////////

#ifndef XMESSAGEBOX_H
#define XMESSAGEBOX_H

#define MB_DEFBUTTON5		0x00000400L
#define MB_DEFBUTTON6		0x00000500L

#define MB_CONTINUEABORT	0x00000008L     // adds two buttons, "Continue"  and "Abort"
#define MB_STARTBUY     	0x00000009L     // adds two buttons, "Start"  and "Buy"
#define MB_DONOTASKAGAIN	0x01000000L     // add checkbox "Do not ask me again"
#define MB_DONOTTELLAGAIN	0x02000000L     // add checkbox "Do not tell me again"
#define MB_YESTOALL			0x04000000L     // must be used with either MB_YESNO or MB_YESNOCANCEL
#define MB_NOTOALL			0x08000000L     // must be used with either MB_YESNO or MB_YESNOCANCEL
#define MB_NORESOURCE		0x10000000L		// do not try to load button strings from resources
#define MB_NOSOUND			0x80000000L     // do not play sound when mb is displayed

#define IDCONTINUE_XMB			10
#define IDYESTOALL			11
#define IDNOTOALL			12
#define IDSTART             13
#define IDBUY               14

#define IDS_OK				9001
#define IDS_CANCEL			9002
#define IDS_IGNORE			9003
#define IDS_RETRY			9004
#define IDS_ABORT			9005
#define IDS_HELP			9006
#define IDS_YES				9007
#define IDS_NO				9008
#define IDS_CONTINUE		9009
#define IDS_DONOTASKAGAIN	9010
#define IDS_DONOTTELLAGAIN	9011
#define IDS_YESTOALL		9012
#define IDS_NOTOALL			9013



int XMessageBox(HWND hwnd, 
				LPCTSTR lpszMessage,
				LPCTSTR lpszCaption = NULL, 
				UINT uStyle = MB_OK|MB_ICONEXCLAMATION,
				UINT uHelpId = 0);

#endif //XMESSAGEBOX_H
